package repository;

import entity.User;
import java.util.List;

public interface UserRepository {
	// 定义 CRUD 的各个方法
	public int save(User user);
	public int update(User user);
	public int deleteById(Long id);
	public List<User> findAll();
	public User findById(Long id);
}

